<h2 class="title">计划申请</h2>
<form action="index.php" method="GET">
<table class="tb_term" width="100%">
<tr>
	<td  class="tr_td_width01 alignright">计划申请编号</td>
	<td class="tr_td_width03"><input type="text" class="input_select_stand txt-normal" name="investment_no" value="{%$smarty.get.investment_no%}"/></td>
	<td  class="tr_td_width02 alignright">计划申请人员</td>
	<td>
		<select name="admin_user_id" class="select_select  txt-normal">
			<option value="0">-- 请选择 -- </option>
			{%html_options options=$admin_info selected=$smarty.get.admin_user_id %}
		</select>
		<input type="hidden" name="c" value="{%$smarty.get.c%}">
	</td>
</tr>
<tr>
	<td class="alignright">计划申请日期</td>
	<td colspan="3">
		<input type=text class="input_date_select txt-normal" name="application_date_start" id="application_date_start"  value='{%$smarty.get.application_date_start%}' readonly>
		<script>
		Calendar.setup({
			inputField     :    "application_date_start",   // id of the input field
			ifFormat       :    "%Y-%m-%d",       // format of the input field
			showsTime      :    false,
			timeFormat     :    "24"
		});
		</script>
		<label class="label01">至</label>
		<input class="input_date_select txt-normal" type=text name="application_date_end" id="application_date_end"  value='{%$smarty.get.application_date_end%}' readonly>
		<script>
			Calendar.setup({
				inputField     :    "application_date_end",   // id of the input field
				ifFormat       :    "%Y-%m-%d",       // format of the input field
				showsTime      :    false,
				timeFormat     :    "24"
			});
		</script>
	</td>
</tr>
</table>
<p class="btn_right">
<button class="b-default" type="submit" hidefocus="true"><span><em>查询</em></span></button>
<button class="b-default" type="button" hidefocus="true" onclick="window.location.href='index.php?c=zy_nvestment&m=add'"><span><em>添加</em></span></button>
</p>
</form>

<h2 class="title">结果显示</h2>
<table class="tb_list" width="100%">
<tr class="title">
	<td class="list_td_zw_10">计划申请编号</td>
	<td class="list_td_zw_04">申请人员</td>
	<td class="list_date">申请日期</td>
	<td >计划申请备注</td>
	<td class="list_td_zw_opt02">操作</td>
</tr>
{%foreach from=$arr item=arr_item%}
<tr>
	<td class="alignleft" >{%$arr_item.investment_no%}</td>
	<td>{%$admin_info[$arr_item.admin_user_id]%}</td>
	<td>{%$arr_item.application_date|date_format:"%Y-%m-%d"%}</td>
	<td class="alignleft" title="{%$arr_item.plan_notes%}">{%cut_str str=$arr_item.plan_notes sublen=35%}</td>
	<td>
		<a href='index.php?c=zy_nvestment&m=browse&investment_no={%$arr_item.investment_no%}'>详细</a>&nbsp;
		<a href='index.php?c=zy_nvestment&m=edit&investment_no={%$arr_item.investment_no%}'>修改</a>
	</td>
</tr>
{%foreachelse%}
<tr><td colspan="15">暂无内容</td></tr>
{%/foreach%}
</table>

{%if $arr_item%}
<div class="pagenation aligncenter">
	<div id="pager">{%$page_footer%}</div>
</div>
{%/if%}